<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="#" method="post">
    <input type="hidden" name="id" value="123">
    <label for="username">用户名</label>
    <input type="text" name="username" id="username">
    <br>
    <label for="password">密码</label>
    <input type="text" name="password" id="password">
    <br>性别
    <input type="radio" name="gender" value="1" id="male">
    <label for="male">男</label>
    <input type="radio" name="gender" value="2" id="female">
    <label for="female">女</label>
    <br>爱好
    <input type="checkbox" name="hobby" value="1" id="lvyou">
    <label for="lvyou">旅游</label>
    <input type="checkbox" name="hobby" value="2" id="dianying">
    <label for="lvyou">电影</label>
    <input type="checkbox" name="hobby" value="3" id="youxi">
    <label for="lvyou">游戏</label>
    <br>头像
    <input type="file">
    <br>城市
    <select name="city">
        <option value="beijing">北京</option>
        <option value="shanghai">上海</option>
        <option value="guangdong">广东</option>
    </select>
    <br>个人描述
    <textarea cols="10" rows="5" name="desc"></textarea>
    <br>
    <br>
    <input type="submit" value="注册">
    <input type="reset" value="重置reset">
</form>
</body>
</html>